package Dto;

public class Customer {
    private Integer id;
    private String name;
    private String company;
    private String phone;
    private String email;
    private String cooperate;
    //无参构造
    public Customer() {
    }
    //有参构造
    public Customer(Integer id, String name, String company, String phone, String email, String cooperate) {
        this.id = id;
        this.name = name;
        this.company = company;
        this.phone = phone;
        this.email = email;
        this.cooperate = cooperate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getCooperate() {
        return cooperate;
    }

    public void setCooperate(String cooperate) {
        this.cooperate = cooperate;
    }

    @Override
    public String toString() {
        return "CustomerService{" +
                "id='" + id + '\'' +
                "name='" + name + '\'' +
                ", company='" + company + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", cooperate='" + cooperate + '\'' +
                '}';
    }
}
